package cc.taofoo.Design.BuilderModel;

import cc.taofoo.utils.XMLUtils;


public class Client {
    public static void main(String[] args) {
        ComputerBuilder computerBuilder = (ComputerBuilder) XMLUtils.getBeanFromXml("computer-builder");
        ComputerVendor computerVendor = new ComputerVendor(computerBuilder);
        Computer computer = computerVendor.build();
        System.out.println(computer);
    }
}
